import http from '@/utils/http'

import type { getArticleListParams, ArticleList } from '@/types/home'

export function getArticleListAPI(params: getArticleListParams) {
  return http.get<ArticleList>('/patient/home/knowledge', { params })
}
